package com.powernode.client;

import com.powernode.commons.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @AUTHOR X
 * @DATE 2021/10/30 19:20
 * @DESC
 */
@FeignClient(value = "product", fallback = ItemClientFallBack.class)
public interface ItemClient {

    @GetMapping("/goods/items")
    Result items();
}
